﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.master" AutoEventWireup="true"
    CodeFile="SubDich-vu.aspx.cs" Inherits="SubDich_vu" %>
<%@ Import Namespace="AppCommon" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>
        <asp:Literal runat="server" ID="litTitlePage" EnableViewState="False" />
        |
        <%= Constants.TITLE_MAIN_PAGE%></title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="row">
        <!-- Noi dung chi tiet cua tour -->
        <ol class="breadcrumb">
            <li><asp:HyperLink runat="server" NavigateUrl="~/">Trang chủ</asp:HyperLink></li>
            <li><asp:HyperLink ID="linkDichvu" runat="server"></asp:HyperLink></li>
            <li class="active"><asp:Literal ID="linkSubdichvu" runat="server"></asp:Literal></li>
        </ol>
        <div class="col-lg-8 col-md-8 col-xs-12">
            <div class="content-info-tour">
                <!-- Content -->
                <ul class="nav nav-tabs" id="vyc-detail">
                    <li class="active"><a href="#vyc-intro" data-toggle="tab"># Nổi bật</a></li>                    
                </ul>
                <div class="tab-content">
                    <div class="tab-pane active" id="vyc-intro">
                        <div class="row">
                            <div class="col-sm-12">
                                <asp:GridView CssClass="table table-condensed table-responsive" ID="gv" DataKeyNames="Id" runat="server"
                                CellPadding="4" ForeColor="#ffffff" GridLines="None" PageSize="10" AllowPaging="true"
                                PagerSettings-Position="TopAndBottom" OnPageIndexChanging="gv_PageIndexChanging"
                                PagerSettings-PageButtonCount="5" AllowSorting="true"
                                EmptyDataText="Chưa cập nhật dữ liệu" AutoGenerateColumns="False">
                                <Columns>
                                    <asp:TemplateField>
                                            <ItemTemplate>
                                                <i class="fa fa-file-text-o"></i> <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# "~/tintuc/" + Eval("UniqueId") %>'>
                                                <%# Eval("Tieude")%>
                                                </asp:HyperLink>
                                                <p><%# Eval("TomTat")%></p>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                </Columns>
                                <Columns>
                                        <asp:TemplateField>
                                            <ItemTemplate>
                                                <p><asp:HyperLink ID="HyperLink1" CssClass="g-plusone" data-size="tall" runat="server" NavigateUrl='<%# "~/tintuc/" + Eval("UniqueId") %>'></asp:HyperLink></p>
                                                <p><asp:HyperLink ID="HyperLink4" CssClass="fb-like" data-size="tall" runat="server"
                                                data-href='<%# "~/tintuc/" + Eval("UniqueId") %>' 
                                                data-layout="box_count" data-action="like" 
                                                data-show-faces="true" data-share="true"
                                                NavigateUrl='<%# "~/tintuc/" + Eval("UniqueId") %>'></asp:HyperLink></p>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                <AlternatingRowStyle BackColor="White" />
                                <FooterStyle BackColor="#d02027" Font-Bold="True" ForeColor="Black" />
                                <HeaderStyle BackColor="White" Font-Bold="True" ForeColor="Black" />
                                <PagerStyle CssClass="phan-trang" BackColor="#428bca" ForeColor="#ffffff" HorizontalAlign="Center" />
                                <RowStyle BorderStyle="None" BackColor="#FFFFFF" ForeColor="#333333" VerticalAlign="Middle" Wrap="True" />
                                <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                                <PagerSettings Mode="NumericFirstLast"></PagerSettings>
                            </asp:GridView>
                            </div>
                        </div>
                    </div>                    
                </div>
                <!-- end content -->
            </div>
        </div>
        <div class="col-lg-4 col-md-4 col-xs-12">
            <fx:SearchAdvance runat="server"/>
            <fx:TinTucRight runat="server"/>  
            <!-- Quang cao 6 -->
            <div class="thumbnail mg-top quang-cao">
                <asp:HyperLink ID="linkQuangcao02" runat="server" NavigateUrl="~/">
                    <asp:Image ID="imgQuangcao02" runat="server" ImageUrl="~/images/quang-cao.png" CssClass="display-100-percent"
                        AlternateText="Quang-cao" />
                </asp:HyperLink>
            </div>
            <!--/ end Quang cao 6 -->          
        </div>
    </div>
    <script type="text/javascript">
        (function () {
            var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
            po.src = 'https://apis.google.com/js/platform.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
        })();
    </script>
</asp:Content>
